package DiscountEnum;

/**
 * 折扣优惠枚举
 */
public enum DiscountEnum {

    discount_4(0.4),

    discount_5(0.5),

    discount_7(0.7),

    discount_8(0.8),

    discount_0(1.0);

    private Double discount;

    DiscountEnum(Double discount) {
        this.discount = discount;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }
}
